<?php

abstract class Veneer_Controller_Api extends Zend_Controller_Action
{
/*	Variables
	array - jsZone
*/
	protected $veneer_parms;	// array of parms
	protected $config;	// array of parms

	function init()
	{
		$this->view->baseUrl = $this->_request->getBaseUrl();
		foreach($this->_dbArray as $tableName)
		{
			Zend_Loader::loadClass($tableName,'modules/'. $this->_moduleName . '/models');
		}
		$this->veneer_parms = $this->_getAllParams();
		// load config.ini

		$this->_helper->LayoutManager->disableLayouts();

	}

 	function restClientAction()
	{
		//search for client method incomingnameClient
	}
 	function restServerAction()
	{
		//search for server method incomingnameServer
	}
 	function testAction()
	{
		// display the mode post/get
		// parameters
		// valid whatever
		// only works in test mode
	}
    public function __call($method, $args)
    {
		// redirect to front page
    }


}

